package generics;

import java.io.Serializable;
import java.util.List;

import javax.persistence.EntityManager;

public interface InterfaceGenericDAO<T, PK extends Serializable> {
	
	public T save(T entity);
	public void remove(T entity);
	public T getById(Class<T> classe, PK pk);
	public List<T> getAll(Class<T> classe);

}
